<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="json" uri="http://www.atg.com/taglibs/json" %>  

<!doctype html>
<html lang="zh-hans">
<%@ include file="_header.jsp" %>
<%@ include file="_daohang.jsp" %>

<script type="text/javascript">
function tijiao(){
	//$("#opType").val(2);	
	document.form1.submit();
};


</script>

<body>

<%  
String code = request.getParameter("code");  
String test="";
HttpSession s;

ValueStack vs=(ValueStack)request.getAttribute("struts.valueStack");
String sessionId=(String)vs.findValue("sessionId");
if(sessionId.equals("")){
	s= request.getSession(); 
	MySessionContext.AddSession(s);		//当sessionId不存在才添加session
	sessionId=s.getId();
	if(s.isNew())
		test="new session";
}else{
	s=MySessionContext.getSession(sessionId);
	if(s==null)		// 测试用 一般不会出现此情况
		test="不存在该session";
	else if(!s.isNew())
		test="old session";	
		
}

%>
  
        



   
<!-- 隐藏数据域 -->
<div class="input-group hide">
<input type="text" class="form-control" name="openId" placeholder="openId" value="<s:property value="openId"/>">
<input type="text" class="form-control" name="tip" placeholder="tip" value="<s:property value="tip"/>">
</div>	 

<!--首页	-->
 <div class="panel panel-default panel-heading">欢迎您：张三(xx)</div>
<div class="jumbotron">
<div class="list-group-item notice">
您有新的客户 请查阅
<span class="badge mybadge">6</span>
</div>
<div class="list-group-item notice">
您有新的提醒 请查阅
<span class="badge mybadge2">2</span>
</div> 

<div class="list-group-item">
<p><a class="btn btn-primary btn-sm" href="#" role="button">Easy work , Happy life ：)</a></p>
</div>
<!--  <p>...</p>-->
</div> 

    
</form>   
  
        




</body>
</html>